package cn.legend.travel.admin.authorize.pojo.param;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import java.io.Serializable;

@Data
public class UserUpdateParam implements Serializable {
    @Range(min = 2, message = "id为1的用户不允许修改")
    Long id;
    String username;
    @Range(min = 2, message = "id为1的角色不允许添加给别的用户")
    Long roleId;
    Integer state;
    String description;
}
